fixed access of sort
removed excess methods/dependencies
moved variable declaration closer to usage
explicit access on internal compare method
deleted constructor
reordered methods
tests for popping empty queue