Added some sorting, not that it made any difference anyway...