Revert .gitignore
Add tests for sprite sorting functions
Add first stab at linear layout algorithms
Add maxside sort function