Sort categories by meta value
How can I make a list of categories with 4 last posts in each where every category is sorted by meta_value.
For example, template without sorting by meta_value is http://pastebin.com/AeH6vx9b
It displays parent categories only.
Few days I am searching something related to categories extra fields but can’t find something workable.
This is my best search result. What I have to do with this? I don’t understand it. Is it possible to do what I want?