JAVA program that will ask the user to input any number and arrange it using queue and it will sort the elements from first to last

really need an answer to this for our quiz in wednesday. i would...