Added basic turn sorting function
Merge pull request #1 from BlazeTide/master

Added basic turn sorting function