Ordering of SQL Results imlemented.