sort (order by) update

Signed-off-by: bovitobo <bovitobo@yahoo.com>