Hey,
What sort are you talking about exactly? The one done by ask or sort done
by some specific result format?
The former is done using the sortkey of the DataItems in the db query. If
you have a property of type string, and thus have StringDataItem objects,
then the sortkey will just be the string, and your db will sort how it
thinks it should sort strings. If your property is of type number, then it
should be treated as a number by the db, so you ought to get the second
list you provided in that case.
What are you dealing with exactly? If they are numbers, just make sure the
prop type is correct. If you have version numbers, such as 1.8.0.2, then
I'm not sure how you'd go about having this sorted correctly by the db
engine, as you'd need the StringDataItem to somehow provided a sensible
sortkey for your version nr, which clearly it can't, since it does not (and
should not) know about version numbers.
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil.
--
------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet,
is your hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials, tech docs,
whitepapers, evaluation guides, and opinion stories. Check out the most
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel