the last condition
it displays it in descending order what is the problem?!

package com.codegym.task.task04.task0420;
/*
Sorting three numbers
*/
import java.io.*;
import java.util.Scanner;
public class Solution {
public static void main(String[] args) throws Exception {
//write your code here
Scanner m = new Scanner(System.in);
int a = m.nextInt();
int b = m.nextInt();
int c = m.nextInt();
if (a > b && a > c && b > c)
System.out.println( a + " " + b + " " + c);
else if ( b > a && b > c && a > c)
System.out.println( b + " " + a + " " + c);
else if ( c > b && c > a && b > a)
System.out.println( c + " " + b + " " + a);
else if ( a > c && a > b && c > b)
System.out.println( a + " " + c + " " + b);
else if ( b > c && b > a && c > a)
System.out.println( b + " " + c + " " + a);
else if ( c > a && c > b && a > b)
System.out.println( c + " " + a + " " + b);
}
}