Release version

fixed bug with sorting
sorting added to commit