Added isIntegar() and Fixed the Sort Issue