Может компилятор глючит
package com.javarush.task.task04.task0420;
/*
Сортировка трех чисел
*/
import java.io.*;
import java.util.*;
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String a1 = reader.readLine();
String b1 = reader.readLine();
String c1 = reader.readLine();
int a = Integer.parseInt(a1);
int b = Integer.parseInt(b1);
int c = Integer.parseInt(c1);
if (a>=b && a>=c && b>=c){System.out.println(a + " " + b + " " + c);}
if (a>=b && a>=c && b<=c){System.out.println(a + " " + c + " " + b);}
if (a<=b && a<=c && b>=c){System.out.println(b + " " + c + " " + a);}
if (a<=b && a>=c && b>=c){System.out.println(b + " " + a + " " + c);}
if (a>=b && a<=c && b<=c){System.out.println(c + " " + a + " " + b);}
if (a<=b && a<=c && b<=c){System.out.println(c + " " + b + " " + a);}
//напишите тут ваш код
}
}