Attempt at sorting

Let's see if this works.