moved sorting to end of functions instead of with each iteration
moved sorting to end of functions instead of with each iteration

tylerbrockett/reddit-bot-buildapcsales,tylerbrockett/Alert-Bot-Reddit,tylerbrockett/reddit-bot-buildapcsales